import React from 'react'
import SearchInput from "../../components/SearchInput"
import { useParams } from 'react-router-dom'
import SearchHeader from "./SearchHaeder"
import SearchList from "./SearchList"

export default function Search () {
  const params = useParams();
  return (
    <div>
      {/* <div>{params.keywords}</div> */}
      <SearchHeader />
      <SearchList keywords={params.keywords} />
    </div>
  )
}
